﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Jzy.BLL.Calendar;
using Jzy.Model;
using Jzy.Core.Common.Web;
using Jzy.Model.Calendar;
using Frame.Lib.Utilities;

public partial class Calendar_Detail : System.Web.UI.Page
{
    private string CalID
    {
        get
        {
            if (Request["ID"] != null)
            {
                return StrUtil.DecryptDES(Request["ID"]);
            }
            else
            {
                return null;
            }
        }
    }
    
    protected void Page_Load(object sender, EventArgs e)
    {
        CalendarBO cal = new CalendarBO();
        CalendarInfo info = cal.GetInfo(CalID);

        EntityUtil.SetControl(pnlMain, info);
    }
}
